package com.mpyy.dao.systemSetting;

import com.mpyy.pojo.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @PackageName:com.mpyy.dao.systemSetting
 * @InterfaceName:OperatorDao
 * @Date:2022-03-30:15:34
 * @Author: Tang Neng
 */
@Repository(value = "operatorDao")
public interface OperatorDao {
    /**操作员登录**/
    OperatorInfo searchOperatorLoginInfo(OperatorInfo operatorInfo);
    /**树形控件**/
    List<ProductType> searchTreeControl();
    /**点击树形控件节点查询商品信息*/
    List<ProductInfo> searchCommodityClassInfo(@Param("string") String string, @Param("paging") Paging paging);
    /**显示商品销售明细*/
    List<MenmberTypeld> searchCommodityClassDescInfo(String proId);
    /**修改商品价格*/
    int updateCommodityPriceInfo(ProductInfo productInfo);
    /**商品调价的查询添加记录**/
    int updateCommodityAdjustPriceAdd(PriceAdjustment priceAdjustment);
    /**商品最后一次进价价格*/
    int searchCommodityFinallyPrice(String proId);

}
